|
A manifest expression is a programming language construct that a compiler can analyse to deduce which values it can take without having to execute the program. This information can enable compiler optimizations, in particular loop nest optimization, and parallelization through data dependency analysis. An expression is called manifest if it is computed only from outer loop counters and constants (a more formal definition is given below). When all control flow for a loop or condition is regulated by manifest expressions, it is called a manifest loop resp. condition. Most practical applications of manifest expressions also require the expression to be integral and affine (or stepwise affine) in its variables. == Definition == A manifest expression is a compile time computable function which depends only on * compile-time constants, * manifest variable references, and * loop counters of loops surrounding the expression. A manifest variable reference is itself defined as a variable reference with * a single, unambiguous definition of its value, * which is itself a manifest expression. The ''single, unambiguous definition'' is particularly relevant in procedural languages, where pointer analysis and/or data flow analysis is required to find the expression that defines the variable value. If several defining expressions are possible (e.g. because the variable is assigned in a condition), the variable reference is not manifest. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Manifest expression」の詳細全文を読む スポンサード リンク
|